/*
 *
 *  This file is part of Cfu
 *
 *  Cfu is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *  
 *  Cfu is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *  
 *  You should have received a copy of the GNU General Public License
 *  along with Cfu. If not, see <http://www.gnu.org/licenses/>.
 *
 *  connector.hpp - william le ferrand (william@corefarm.com) 29/04/2010 15:30
 *
 */

#ifndef CFU_CONNECTOR_HPP_
#define CFU_CONNECTOR_HPP_

#include <string>

std::string new_job (std::string &server, std::string &login, std::string &password) ; 

void drop_file (std::string &server, std::string &login, std::string &password, std::string &job_id, std::string &filename); 

void drop_compressed_file (std::string &server, std::string &login, std::string &password, std::string &job_id, std::string &filename); 

void start_job (std::string &server, std::string &login, std::string &password, std::string &job_id, int ghz, std::string &input); 

#endif
